* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 28px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    list-style: none;
    overflow-x: auto;
    padding: 0 10px;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
    background-color: rgba(26, 115, 232, 0.05);
}

.content-section {
    display: none;
    padding: 30px 0;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
}

.card-header {
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-size: 20px;
    color: #1a73e8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1a73e8;
    color: white;
}

.btn-primary:hover {
    background-color: #0d62d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.btn-success {
    background-color: #34a853;
    color: white;
}

.btn-danger {
    background-color: #ea4335;
    color: white;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
}

tr:hover {
    background-color: #f8f9ff;
}

.status-normal {
    background-color: #e6f4ea;
    color: #34a853;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.status-abnormal {
    background-color: #fce8e6;
    color: #ea4335;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.status-handled {
    background-color: #e8f0fe;
    color: #1a73e8;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-item input {
    width: 20px;
    height: 20px;
}

.search-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-item {
    flex: 1;
    min-width: 200px;
}

.export-btn {
    background-color: #fbbc04;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.export-btn:hover {
    background-color: #e6ac00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(251, 188, 4, 0.3);
}

footer {
    text-align: center;
    padding: 20px;
    color: #777;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.status-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.checkbox-item input {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
            .search-bar {
            flex-direction: column;
        }
    }

    /* 管理页面样式 */
    .management-container {
        display: flex;
        min-height: 100vh;
    }
    
    /* 首页容器样式 */
    .index-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .sidebar {
        width: 250px;
        background: linear-gradient(135deg, #1a73e8, #0d47a1);
        color: white;
        padding: 0;
        position: fixed;
        height: 100vh;
        overflow-y: auto;
    }

    .sidebar-header {
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar-header h2 {
        font-size: 18px;
        font-weight: 600;
    }

    .nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li.active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 30px;
    }

    .nav-menu i {
        margin-right: 10px;
        width: 20px;
    }

    .main-content {
        flex: 1;
        margin-left: 250px;
        background-color: #f5f7fa;
    }

    .top-bar {
        background: white;
        padding: 15px 30px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar-left h1 {
        font-size: 24px;
        color: #1a73e8;
        margin: 0;
    }

    .top-bar-right .user-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .logout-btn {
        background-color: #ea4335;
        color: white;
        padding: 8px 15px;
        border-radius: 5px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .logout-btn:hover {
        background-color: #d33b2c;
        transform: translateY(-1px);
    }

    .content {
        padding: 30px;
    }

    .action-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .search-box {
        position: relative;
        width: 300px;
    }

    .search-box input {
        width: 100%;
        padding: 10px 40px 10px 15px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
    }

    .search-box i {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

    .badge {
        background-color: #1a73e8;
        color: white;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 12px;
        font-weight: 500;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 14px;
        margin-right: 5px;
    }

    .btn-info {
        background-color: #17a2b8;
        color: white;
    }

    .btn-warning {
        background-color: #ffc107;
        color: #212529;
    }

    .btn-secondary {
        background-color: #6c757d;
        color: white;
    }

    /* 模态框样式 */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .modal-content {
        background-color: white;
        margin: 5% auto;
        padding: 0;
        border-radius: 10px;
        width: 500px;
        max-width: 90%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .modal-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .modal-header h3 {
        margin: 0;
        color: #1a73e8;
    }

    .close {
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        color: #999;
    }

    .close:hover {
        color: #333;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 20px;
        border-top: 1px solid #eee;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    .table {
        width: 100%;
        border-collapse: collapse;
        margin: 0;
    }

    .table th,
    .table td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #eee;
    }

    .table th {
        background-color: #f8f9fa;
        font-weight: 600;
        color: #555;
    }

    .table tbody tr:hover {
        background-color: #f8f9fa;
    } 